
package com.salesmanager.shop.spring.cloud.service.provider;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.sleuth.Tracer;
import org.springframework.cloud.sleuth.annotation.NewSpan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * TODO Comment
 *
 * @author <a href="mailto:mercyblitz@gmail.com">Mercy</a>
 * @since TODO
 */
@EnableAutoConfiguration
@RestController
@EnableAspectJAutoProxy(proxyTargetClass = true)
public class ZipkinServerApplication {

    private static final Logger log = LoggerFactory.getLogger(ZipkinServerApplication.class);

    public static void main(String[] args) {
        new SpringApplicationBuilder(ZipkinServerApplication.class)
                .run("--spring.config.additional-location=classpath:/META-INF/zipkin-server.yaml");
    }


}
